package com.example.CarFee;

import com.example.trainfee.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class LodingPage extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_loding);
		Thread thread = new Thread(new Runnable() {

			@Override
			public void run() {
				try {
					Thread.sleep(2000);
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
				Intent intent = new Intent(LodingPage.this,
						LoggingActivity.class);
				startActivity(intent);
				finish();
			}
		});
		thread.start();
	}
}
